package history.link.doublycircularlinklist;

/**
 * @author czt
 * @version 1.0
 * @since 2024/10/28
 */
public class DoublyCircularLinkListSentinelTest {

    public static void main(String[] args) {
        DoublyCircularLinkListSentinel linkListSentinel = new DoublyCircularLinkListSentinel();
        linkListSentinel.addLast(1);
        linkListSentinel.addLast(2);
        linkListSentinel.addLast(3);
        linkListSentinel.addLast(4);
        linkListSentinel.addLast(5);

        for (Integer integer : linkListSentinel) {
            System.out.println("integer = " + integer);
        }
    }
}
